﻿#include <iostream>
#include "threadpool.h"
using namespace std;

int sum1(int a, int b)
{
	return a + b;
}

int main()
{
	ThreadPool pool;
	pool.start(4);
	future<int> r1 = pool.submitTask(sum1, 10, 20);
	return 0;
}